Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network autoconfiguration #271

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sfalexrog
Copy link
Member

As of now, wireless network reconfiguration requires multiple steps:

  • change wpa_supplicantconfiguration;
  • change /etc/dhcpcd.conf;
  • enable/disable dnsmasq.service (depending on AP/station config);
  • restart dhcpcd.service (or the whole RPi).

This is tedious, and each step may be performed erroneously, resulting in a system that won't bring up the network.

Obviously, we should and can do better than that.

This P/R proposes adding a dhcpcd hook and changing dhcpcd config to use static IP as a fallback configuration. With this P/R, network reconfiguration is now a two-step process:

  • change wpa_supplicant configuration;
  • restart the whole RPi (not sure about just dhcpcd.service).

P/R progress:

  • default config changes;
  • test image with this P/R applied;
  • documentation changes;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant